fktrPostTypeSales D

Total Complexity 324
Dependencies 9
Dependents 7
Total lines 1,844
Lines of code 1,636
Logical lines of code 778
Comment lines 17
Methods 54
Properties 0

Methods 54

Method Rating Maintainability Complexity Lines of code
invoice_data_box()
D
15
40 353
invoice_box()
D
24
38 159
save()
B
42 20 45
clean_fields()
B
39 17 65
updateStock()
B
43 17 49
getTitleInvoiceNumber()
B
45 17 38
ajax_validate_sale()
B
37 14 76
manage_columns()
A
44 13 40
updateSuggestInvoiceNumber()
A
49 11 35
scripts()
A
33 6 98
suggestInvoiceNumber()
A
50 9 31
exist_a_invoice_number()
A
41 6 69
before_delete()
A
52 9 23
get_products()
A
43 7 43
action_row()
A
49 8 27
getProductStock()
S
53 7 22
currencies_box()
S
52 7 20
default_fields()
S
44 5 42
column_orderby()
S
53 6 22
get_client_data()
S
51 5 26
set_delete_post_link()
S
55 5 17
change_button_texts()
S
57 5 16
date_format_php_to_js()
S
62 5 13
print_invoice()
S
50 4 27
setup()
S
42 1 54
__construct()
S
44 1 43
get_suggest_invoice_number()
S
61 3 12
discount_box()
S
58 2 15
before_save()
S
62 3 10
bulk_action_handler()
S
63 3 10
get_sale_data()
S
61 2 11
updateReceiptsAffected()
S
61 2 11
updated_messages()
S
56 1 17
name_placeholder()
S
70 2 6
styles()
S
66 2 8
scripts_list()
S
69 2 6
product_parameter_internal_code()
S
70 2 6
meta_key_code_product_manufacturers_code()
S
81 1 3
text_description_product_description()
S
79 1 3
fktr_save_sale_summary()
S
68 1 6
product_parameter_manufacturers_code()
S
74 1 4
columns()
S
65 1 9
bulk_actions()
S
74 1 4
text_description_product_short_description()
S
79 1 3
meta_key_description_product_short_description()
S
81 1 3
meta_key_code_product_internal_code()
S
81 1 3
meta_key_description_product_description()
S
81 1 3
text_code_product_reference()
S
79 1 3
sortable_columns()
S
69 1 7
text_code_product_manufacturers_code()
S
79 1 3
meta_boxes()
S
66 1 7
meta_key_code_product_reference()
S
81 1 3
product_parameter_reference()
S
74 1 4
text_code_product_internal_code()
S
79 1 3